package atm;

public class user {
    private String name;
    private String passWorld;
    private String cardNumb;
    private int limit;//额度
    private int balance;//余额

    public user() {
    }

    public user(String name, String passWorld, String cardNumb, int limit, int balance) {
        this.name = name;
        this.passWorld = passWorld;
        this.cardNumb = cardNumb;
        this.limit = limit;
        this.balance = balance;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassWorld() {
        return passWorld;
    }

    public void setPassWorld(String passWorld) {
        this.passWorld = passWorld;
    }

    public String getCardNumb() {
        return cardNumb;
    }

    public void setCardNumb(String cardNumb) {
        this.cardNumb = cardNumb;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getBalance() {
        return balance;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }
}
